package com.jdrx.ocp.beans.dto.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

/**
 * @Author: yangfang
 * @Date: 2019/3/13 9:55
 */
@ApiModel(value = "文档分类授权DTO" , description = "文档分类授权DTO")
public class AuthClassToUserDTO {

    @NotNull
    @ApiModelProperty(value = "用户ID" ,required = true)
    private Long userId;

    @NotBlank
    @ApiModelProperty(value = "文档分类ID集合（报装系统文档分类权限使用,格式“,分类ID1,分类ID2,”）",required = true)
    private String classIds;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getClassIds() {
        return classIds;
    }

    public void setClassIds(String classIds) {
        this.classIds = classIds;
    }
}
